﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Etapa1.SofRender
{
    public class Span
    {    
       public int X1, X2;
       public Dictionary<Slots, Vector4> d1, d2;

       public Span(Dictionary<Slots, Vector4> data1, int x1, Dictionary<Slots, Vector4> data2, int x2)
       {
           if (x1 < x2)
           {
               this.X1 = x1;
               this.d1 = data1;
               this.X2 = x2;
               this.d2 = data2;
           }
           else
           {
               this.X1 = x2;
               this.d1 = data2;
               this.X2 = x1;
               this.d2 = data1;
           }
       }

    }
}
